package com.crm.dao.mapper.customMapper.cluePoolManagerCustomMapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author yincuimei
 * @Date 2021/1/13 15:32
 */
public interface CluePoolCompanyCustomMapper {

    /**
     * 私有池查询使用组人员
     * @param cluePollId   ---线索池主键
     * @param deleteStatus ---删除状态
     * @return
     */
    List<Map<String, Object>> selectPersonByDistributePermission(@Param("cluePollId")String cluePollId, @Param("deleteStatus")Short deleteStatus);

    /**
     * 私有池查询使用组公司
     * @param cluePollId   ---线索池主键
     * @param deleteStatus ---删除状态
     * @return
     */
    List<Map<String, Object>> selectCompanyByDistributePermission(@Param("cluePollId")String cluePollId, @Param("deleteStatus")Short deleteStatus);
}
